import Layout from '@/layout/dev';

export default [
  {
    path: '/dev',
    component: Layout,
    name: 'dev',
    meta: {
      title: '基础配置',
      icon: 'yml-developer-tools',
    },
    children: [
      {
        path: 'api',
        component: () => import('@/views/dev/api/index'),
        name: 'Icons21',
        meta: { title: 'API接口生成', icon: 'yml-api-generation', noCache: true },
      },
      {
        path: 'template',
        component: () => import('@/views/dev/template/index'),
        name: 'Icons22',
        meta: { title: '导入模板', icon: 'yml-api-generation', noCache: true },
      },
      // {
      //   path: 'ui',
      //   component: () => import('@/views//admin/project/index'),
      //   name: 'Icons',
      //   meta: { title: '前端生成', icon: 'yml-web-generation', noCache: true }
      // },
      // {
      //   path: 'db-source',
      //   component: () => import('@/views//admin/dev/conn/index'),
      //   name: 'DBSource',
      //   meta: { title: '数据源管理', icon: 'yml-datasource-manage', noCache: true }
      // },
      // {
      //   path: 'server',
      //   component: () => import('@/views//admin/dev/server/index'),
      //   name: 'ServerManager',
      //   meta: { title: '服务配置', icon: 'yml-service-conf', noCache: true }
      // },
      // {
      //   path: 'import',
      //   component: () => import('@/views//admin/dev/import/index'),
      //   name: 'ImportManager',
      //   meta: { title: '导入配置', icon: 'yml-input-conf', noCache: true }
      // },
      // {
      //   path: 'dev/import/:id',
      //   component: () => import('@/views//admin/dev/import/config'),
      //   name: 'DevImportConfig',
      //   hidden: true,
      //   meta: { title: '导入配置', icon: 'yml-input-conf', activeMenu: '/admin/dev/import', noCache: true }
      // },
      // {
      //   path: 'export',
      //   component: () => import('@/views//admin/dev/conn/index'),
      //   name: 'ExportManager',
      //   meta: { title: '导出配置', icon: 'yml-output-conf', noCache: true }
      // }
    ],
  },
];
